/adodb/adodb-pear.inc.php

Description
Classes
Class Description
DB The main "DB" class is simply a container class with some static methods for creating DB objects as well as some utility functions common to all parts of DB.
Includes
require_once ("PEAR.php") (line 41)
require_once (ADODB_PEAR."/adodb.inc.php") (line 43)
require_once (ADODB_PEAR."/adodb-errorpear.inc.php") (line 42)
Constants
ADODB_PEAR = dirname(__FILE__) (line 40)
  • version:

    V1.90 5 April 2002 (c) 2000-2002 John Lim (jlim@natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence.

    Set tabs to 4 for best viewing.

    PEAR DB Emulation Layer for ADODB.

    The following code is modelled on PEAR DB code by Stig Bakken <ssb@fast.no> | and Tomas V.V.Cox <cox@idecnet.com>

DB_ERROR = -1 (line 47)
DB_FETCHMODE_ASSOC = 2 (line 65)

Column data indexed by column names

DB_FETCHMODE_DEFAULT = (line 53)

This is a special constant that tells DB the user hasn't specified any particular get mode, so the default should be used.

DB_FETCHMODE_ORDERED = 1 (line 59)

Column data indexed by numbers, ordered from 0 and up

DB_GETMODE_ASSOC = DB_FETCHMODE_ASSOC (line 70)
DB_GETMODE_ORDERED = DB_FETCHMODE_ORDERED (line 69)
DB_OK = 1 (line 46)
DB_TABLEINFO_FULL = 3 (line 80)
DB_TABLEINFO_ORDER = 1 (line 78)

these are constants for the tableInfo-function

they are bitwised or'ed. so if there are more constants to be defined in the future, adjust DB_TABLEINFO_FULL accordingly

DB_TABLEINFO_ORDERTABLE = 2 (line 79)

Documentation generated on Thu, 04 Sep 2008 16:14:43 +0400 by phpDocumentor 1.3.0RC3